package HomeWork;

import java.util.Scanner;

public class S {
    public static void main(String[] args) {
        final double PI = 3.14;
        System.out.println("请输入圆的半径:");
        Scanner input = new Scanner(System.in);
        double r = input.nextInt();
        System.out.println("该圆的半径为："+r);
        double zc = 2*r*PI;
        System.out.println("周长为："+zc);
        double s = r*Math.pow(PI,2);
        System.out.println("圆的面积为："+s);
    }
}
